package com.surveillance.tests;

import java.util.Date;

import com.surveillance.BO.ExamenBO;
import com.surveillance.entities.Examen;
import com.surveillance.util.HandlingDates;
import com.surveillance.util.LoadBeans;

public class TestDates {
	public static void main(String [] args){
		ExamenBO examenBo = (ExamenBO) LoadBeans.getExamenBO();
		Examen fetchedExamen= examenBo.findByID(new Long(1));
		Date examenDate= fetchedExamen.getDateDebut();
		System.out.println(examenDate);
		System.out.println(HandlingDates.getJour(examenDate));
	}

}
